﻿using EasyDDD.Infrastructure.EFCore.Records;
using Microsoft.EntityFrameworkCore;

namespace EasyDDD.AdminModule.Records
{
    public class AdminModuleRecordsDbContext : EFRecordsContext<AdminModuleRecordsDbContext>
    {
        public DbSet<Entities.SysMenu> SysMenu { get; set; } = default!;
        public DbSet<Entities.ApplicationUser> SysAdmin { get; set; } = default!;
        public DbSet<Entities.ApplicationRole> SysAdminRole { get; set; } = default!;

        public DbSet<Entities.ApplicationRoleClaim> ApplicationRoleClaim { get; set; } = default!;

        public AdminModuleRecordsDbContext(DbContextOptions<AdminModuleRecordsDbContext> options, IServiceProvider provider) : base(options, provider)
        {
        }
    }
}
